﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
  <xsl:decimal-format name="dollar"
decimal-separator="." grouping-separator=","/>
    <xsl:template match="/CuentaBancaria">
          <h1><xsl:value-of select="@institucion"/> [<xsl:value-of select="@alias"/>]
          </h1>
          <table width="900" style="width:900px; font-size:14px;">
            <tr>
              <td>
                Numero de Cuenta:
              </td>
              <td>
                Saldo Actual: 
              </td>
              <td>
                Ultimo Cheque Generado: 
              </td>
            </tr>
            <tr>
              <td>
                <xsl:value-of select="@cuenta"/>
              </td>
              <td>
                $<xsl:value-of select="format-number(@saldoActual, '#,##0.00','dollar')"/>
              </td>
              <td>
                <xsl:value-of select="@numeroUltimoCheque"/>
              </td>
            </tr>
          </table>
           
      
    </xsl:template>
</xsl:stylesheet>
